package com.pactera.madp.cp.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pactera.madp.cp.api.entity.WorkContactEntity;

import java.util.List;
import java.util.Map;

public interface IExternalContactService extends IService<WorkContactEntity> {

    void updateRemark(Integer empId, Integer corpId, Integer contactId, String remark, String description);

    JSONArray getExternalUserId(String userId, Integer corpId);

    JSONArray getAllExternalUserId(List<String> userIds, Integer corpId);

    JSONObject getExternalContact(String externalUserId, Integer corpId);

    Map<String, JSONObject> getExternalContactMap(List<Object> array, Integer corpId);

    void uploadContactAvatar(Map<String, String> filePathMap);

}
